﻿
using System.Xml.Serialization;
using System;

namespace CMISForSharePoint.cmisExceptions
{

    /// <remarks/>
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(versioningExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(updateConflictExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(typeNotFoundExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(streamNotSupportedExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(storageExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(runtimeExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(permissionDeniedExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(operationNotSupportedExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(offsetExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(objectNotFoundExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(notInFolderExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(invalidArgumentExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(folderNotValidExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(filterNotValidExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(contentAlreadyExistsExceptionType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(constraintViolationExceptionType))]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    public partial class cmisFaultType:Exception
    {

        private string errorCodeField;

        private string errorMessageField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType = "integer")]
        public string errorCode
        {
            get
            {
                return this.errorCodeField;
            }
            set
            {
                this.errorCodeField = value;
            }
        }

        /// <remarks/>
        public string errorMessage
        {
            get
            {
                return this.errorMessageField;
            }
            set
            {
                this.errorMessageField = value;
            }
        }
    }




    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("constraintViolationException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class constraintViolationExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("contentAlreadyExistsException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class contentAlreadyExistsExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("filterNotValidException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class filterNotValidExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("folderNotValidException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class folderNotValidExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("invalidArgumentException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class invalidArgumentExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("notInFolderException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class notInFolderExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("objectNotFoundException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class objectNotFoundExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("offsetException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class offsetExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("operationNotSupportedException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class operationNotSupportedExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("permissionDeniedException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class permissionDeniedExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("runtimeException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class runtimeExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("storageException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class storageExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("streamNotSupportedException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class streamNotSupportedExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("typeNotFoundException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class typeNotFoundExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("updateConflictException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class updateConflictExceptionType : cmisFaultType
    {
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("versioningException", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class versioningExceptionType : cmisFaultType
    {
    }

}